/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.org.kasir.service;

import java.util.ArrayList;
import com.org.kasir.model.Barang;

/**
 *
 * @author Ivan
 */
public interface BarangService {

    public Barang getDetailBarang(String kode);

    public void save();

    public ArrayList<Barang> getDaftarBarang();

    public ArrayList<Barang> getCariBarang(String nama);

    public void delete(String kode);

    public void updateStock(Barang barang);
}
